<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:s="http://jboss.com/products/seam/taglib"
      xmlns:rich="http://richfaces.org/rich">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>rafaelSys - V@R Calculator</title>
	<link href="css/screen.css" rel="stylesheet" type="text/css" />
</head>
<body>

<div id="document">
	<div id="header">
		<div id="title"><!-- <img src="img/hdr.title.gif" alt="JBoss Suites: seam framework demo"/> --></div>
		<div id="status">
            Bem vindo #{user.name}
<!--            | <s:link id="settings" view="/password.xhtml" value="Settings" propagation="none"/>-->
            | <s:link id="logout" action="#{identity.logout}" value="Logout"/>
		</div>
	</div>
	<div id="container">
		<div id="sidebar">
			<ui:insert name="sidebar">
			<h:panelGrid columns="1" cellspacing="0">
				<s:button view="/inicial.xhtml" value="Inicial" style="text-align: center; width: 140px"/>			
				<s:button view="/ativos.xhtml" value="Ativos" style="text-align: center; width: 140px"/>
				<s:button view="/carteiras.xhtml" value="Carteiras" style="text-align: center; width: 140px"/>
				<s:button view="/var.xhtml" value="Calculo de V@R" style="text-align: center; width: 140px"/>
			</h:panelGrid>
			</ui:insert>
		</div>
		<div id="content">
			<h3 class="title"><ui:insert name="page-name"/></h3>
			<h:messages id="messages" globalOnly="true"/>
			<ui:insert name="content"/>
		    <ui:include src="conversations.xhtml" />
		</div>
	</div>
	<div id="footer"><a href="mailto:ksi.usp@gmail.com">rafaelSys Milestone 0.3</a> @ <a href="http://code.google.com/p/rafaelsys/" target="_blank">Google Code</a> - Criado com JBoss Seam 2.1.1.GA, JSF 1.2, Hibernate 3, MySql 5, Facelets e Richfaces.</div>
</div>
</body>
</html>
